package com.xushi.model;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;

@Embeddable
public class ApplyPricePK implements Serializable {
    public ApplyPricePK(String openId, int activityId) {
        this.openId = openId;
        this.activityId = activityId;
    }

    public ApplyPricePK() {
    }

    // 微信信息以及用户信息
    @Column(name = "openid")
    private String openId;

    @Column(name = "activity_id")
    private int activityId;

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }
}
